<%@ page contentType="text/html; charset=UTF-8"%>
<%@ include file="/common/include_main.jsp"%>
<html>
	<head>
		<title>Payroll 2.0</title>
		<script type="text/javascript">
		var userStatus = '<%=currentUser.getUserStatus()%>';
		var userName = '<%=currentUser.getLoginName()%>';
		</script>
		<script type="text/javascript" src="<%=basePath%>js/jquery-1.3.2.js"></script>
		<script type="text/javascript" src="<%=basePath%>js/index.js"></script>
		<script type="text/javascript" src="<%=basePath%>js/changePassword.js"></script>
		<style type="text/css">
		<!--
		body {
			background-color: #FFFFFF;
		}
		
		td {
			font-size: 12px;
			font-style: normal;
			word-break: break-all;
			line-height: 20px;
		}
		
		a:link {
			color: #3A3A3A;
			text-decoration: none;
		}
		
		a:visited {
			color: #3A3A3A;
			text-decoration: none;
		}
		
		a {
			color: #3A3A3A;
			text-decoration: none;
		}
		-->
		</style>
	</head>
	<body>
		<div id="north" align="center">
			<table width="100%" border="1" cellpadding="0" cellspacing="0"
				bordercolor="#C0C0C0">
				<tr>
					<td height="50" bordercolor="#FFFFFF">
						<table width="100%" height="50" border="0" cellpadding="0"
							cellspacing="0" background="<%=basePath%>images/bannar.gif">
							<tr>
								<td width="10">
									&nbsp;
								</td>
								<td width="300">
									<img src="<%=basePath%>images/LOGO.gif" width="233"
										height="45">
								</td>
								<td background="<%=basePath%>images/b.gif">
									&nbsp;
								</td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td height="23" bordercolor="#FFFFFF">
						<table width="100%" height="23" border="0" cellpadding="0"
							cellspacing="0" background="<%=basePath%>images/welcomebg.jpg">
							<tr>
								<td>
									&nbsp;
								</td>
								<td>
									&nbsp;
								</td>
								<td width="1">
									<img src="<%=basePath%>images/1.gif" width="1" height="11">
								</td>
								<td width="300" align="center">
									欢迎您，<%=currentUser.getCompanyName()%><%=currentUser.getEmployeeName()==null?"的客户管理员！":"的用户："+currentUser.getEmployeeName()+"！"%>
								</td>
								<td width="1">
									<img src="<%=basePath%>images/1.gif" width="1" height="11">
								</td>
								<td width="110" align="center">
									<a href="#" onclick="assistant();">打开/关闭在线客服</a>
								</td>
								<td width="80">
									<img src="<%=basePath%>images/down.gif" width="15" height="10">
									<a href="#" onclick="changpassword()">修改密码</a>
								</td>
								<td width="100">
									<img src="<%=basePath%>images/down.gif" width="15" height="10">
									<a href="#" onclick="logout()">安全离开</a>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td height="2"></td>
				</tr>
			</table>
		</div>
		<div id="west"></div>

		<style type="text/css">
		#east img {
			border: 0;
		}
		
		#east div {
			padding: 0;
			text-align: center;
		}
		
		#east ul {
			list-style: none;
			margin: 0;
		}
		
		#east td {
			font-size: 12px;
			text-align: center;
		}
		</style>
		<div id="east" style="width: 173px;">
			<div>
				<img src="<%=basePath%>images/kefu_top.gif" />
			</div>
			<div
				style="background-image: url(<%=basePath%>images/kefu_body.gif); background-repeat: no-repeat;">
				<table>
					<tr>
						<td>
							销售客服
						</td>
					</tr>
					<tr>
						<td>
							<div id="qq1">
								<ul></ul>
							</div>
							<div style="color: red;">
								<a href="msnim:chat?contact=sbhorse@hotmail.com"
									title="点击与我们交谈！"><img src="<%=basePath%>images/msn.gif" />
								</a>
							</div>
						</td>
					</tr>
					<tr>
						<td>
							技术支持
						</td>
					</tr>
					<tr>
						<td>
							<div id="qq2">
								<ul></ul>
							</div>
						</td>
					</tr>
					<tr>
						<td>
							代理加盟
						</td>
					</tr>
					<tr>
						<td>
							<div id="qq3">
								<ul></ul>
							</div>
							<div style="color: red;">
								<a href="msnim:chat?contact=li.lu@chinatalentgroup.com"
									title="点击与我们交谈！"><img src="<%=basePath%>images/msn.gif" />
								</a>
							</div>
						</td>
					</tr>
					<tr>
						<td>
							&nbsp;
						</td>
					</tr>
				</table>
			</div>
			<script type="text/javascript">
			function QQ(id,nicker){
				this.id = id ;
				this.nicker = nicker ;
			}
			var arr_qq1 = [	new QQ(8706817,"西园草"),
							new QQ(8706817,"西园草"),
							new QQ(8706817,"西园草"),
							new QQ(8706817,"西园草"),
							new QQ(8706817,"西园草"),
							new QQ(8706817,"西园草")
						  ];
			var arr_qq2 = [	new QQ(8706817,"西园草"),
							new QQ(8706817,"西园草")
						  ];
			var arr_qq3 = [	new QQ(8706817 ,"西园草"),
							new QQ(8706817,"西园草")
						  ];
			var site_name="CTG";
			
			$(arr_qq1).each(function(i){
				$("#qq1 ul").append("<li><a href='tencent://message/?uin="+arr_qq1[i].id+"&amp;Site="+site_name+"&amp;Menu=yes'><img src='http://wpa.qq.com/pa?p=1:"+arr_qq1[i].id+":7'alt='点击与"+arr_qq1[i].nicker+"交谈' /></a></li>");
			});
			$(arr_qq2).each(function(i){
				$("#qq2 ul").append("<li><a href='tencent://message/?uin="+arr_qq2[i].id+"&amp;Site="+site_name+"&amp;Menu=yes'><img src='http://wpa.qq.com/pa?p=1:"+arr_qq2[i].id+":7'alt='点击与"+arr_qq2[i].nicker+"交谈' /></a></li>");
			});
			$(arr_qq3).each(function(i){
				$("#qq3 ul").append("<li><a href='tencent://message/?uin="+arr_qq3[i].id+"&amp;Site="+site_name+"&amp;Menu=yes'><img src='http://wpa.qq.com/pa?p=1:"+arr_qq3[i].id+":7'alt='点击与"+arr_qq3[i].nicker+"交谈' /></a></li>");
			});
			</script>
		</div>
		</div>
		<script type="text/javascript">
		<!--
			var e = document.getElementById("east"); 
			e.style.position = "absolute"; 
			e.style.right = "20px" 
			e.style.top = "90px"
			e.style.display = "none";
		//-->
		</script>
		<div id="south"></div>
	</body>
</html>